if(NOT EXISTS "@CMAKE_INSTALL_PREFIX@/lib/cmake/async_io/async_ioConfig.cmake")
    message(FATAL_ERROR "无法卸载 async_io。文件 async_ioConfig.cmake 未找到。")
endif()

file(REMOVE_RECURSE "@CMAKE_INSTALL_PREFIX@/lib/cmake/async_io")
file(REMOVE "@CMAKE_INSTALL_PREFIX@/lib/libasync_io.so")
file(REMOVE "@CMAKE_INSTALL_PREFIX@/lib/libasync_io.a")
file(REMOVE "@CMAKE_INSTALL_PREFIX@/include/async_io.h")

message(STATUS "成功卸载 async_io")
